<template>
  <div class="wrap">
    <div class="container w">
      <ul>
          <li>
            <div class="s1">
              <h2>
                <a href="/" class="web" >云优模板<font>（送授权）</font></a>
              </h2>
            </div>
            <div class="s2">
              <ul>
                <li v-for="item in keys" :key="item.name"><a :href="item.url">{{item.name}}</a></li>
              </ul>
            </div>
          </li>
          <li>
            <div class="s1">
              <a href="/" class="host" >会员模板</a >
            </div>
             <div class="s2">
              <ul>
                <li v-for="item in keys" :key="item.name"><a :href="item.url">{{item.name}}</a></li>
              </ul>
            </div>
          </li>
          <li>
            <div class="s1">
              <a href="/" target="_blank" class="value" >建站周边</a >
            </div>
            <div class="s2">
              <ul>
                <li v-for="item in keys" :key="item.name"><a :href="item.url">{{item.name}}</a></li>
              </ul>
            </div>
          </li>
        </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "Category",
  components: {},
  data() {
    return {
      keys: [
        { name: "企业模板", url: "/" },
        { name: "营销型", url: "/" },
        { name: "自适应模", url: "/" },
        { name: "新闻博客", url: "/" },
        { name: "英文外贸", url: "/" },
        { name: "更多", url: "/" },
      ],
    };
  },
};
</script>
<style lang="scss" scoped>

.container {
  width: 250px;
  height: 425px;
  background: rgba(97, 0, 0, 0.9);
  overflow: hidden;
  padding: 0 15px;

}
.s2{
  border-bottom: 1px dotted #666;
  margin:0 0px;
  ul{
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    font-size: 14px;
    li{
      a:hover {
      color: rgb(101, 129, 240);
  }
      margin:0px 10px;
    }
  }
 
}

.s1{
    background: url(~@/assets/common/pull_r_icon.png) 210px 11px no-repeat;
    h2 {
      margin:0;
    font-weight: normal;
    font{
      font-size: 12px;
      color: #b74a02;
    }
  }
  a {
      color: #ffffff;
      padding-left: 30px;
  }
  a.web {
    background: url(~@/assets/common/web.png) left no-repeat;
}
a.host {
    background: url(~@/assets/common/host.png) left no-repeat;
}
a.value {
    background: url(~@/assets/common/value.png) left no-repeat;
}
}

</style>
